Page 79 - 2629_Devagiri_C-6
P. 79

Step  12    Click on the Blocks button in the top-right corner to switch to the Blocks Editor.

                 Step  13    Click on the Button1 block from the Blocks palette to open its blocks.

                 Step  14    Drag the when Button1.Click block to the workspace.

                 Step  15    Click on the Pedometer1 block to open its blocks.

                 Step  16     Drag the Pedometer1.Start block into the when Button1.Click block.

                 Step  17    Drag the when Button2.Click block to the workspace from the Button2 blocks.

                 Step  18     Drag the Pedometer1.Stop block into the when Button2.Click block.

                 Step  19    Drag the when Button3.Click block to the workspace from the Button3 blocks.

                 Step  20     Drag the Pedometer1.Reset block into the when Button3.Click block.

                 Step  21    Click on the Label1 block to open its blocks.

                 Step  22     Drag the  set  Label1.Text to  block  and  place  it  below  call  Pedometer1.Reset, then
                             attach a 0 block inside it from Math.































                 Step  23     Click  on the  Pedometer1 block  again and  drag the  when  Pedometer1.SimpleStep
                             block to the workspace.

                 Step  24     Click on the Label1 block again and drag the set Label1.Text to block inside the when
                             Pedometer1.SimpleStep block.



                                   Suppose  Android  and iOS were rival  kingdoms  in a digital  realm. What  unique
                                   features and powers would each kingdom possess and how would they influence the
                                   development of apps within their domains?






                                                                                                                  77
                                                                                           Touch to Motion with MIT
   74   75   76   77   78   79   80   81   82   83   84